SphinxClient
PHP Manual

SphinxClient::setFilter

(PECL sphinx >= 0.1.0)

SphinxClient::setFilterAdd new integer values set filter

Descripción

public bool SphinxClient::setFilter ( string $attribute , array $values [, bool $exclude= false ] )

Adds new integer values set filter to the existing list of filters.

Lista de parámetros

attribute

An attribute name.

values

Plain array of integer values.

exclude

If set to TRUE, matching documents are excluded from the result set. Defaults to FALSE.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Ver también


SphinxClient
PHP Manual